map

inline fun <T, E, R> NetworkResult<T, E>.map(transform: (T) -> R): NetworkResult<R, E>